import request from '@/utils/request';

export function addIntegralGoods(data) {
	return request({
		url: '/mall/integral/goods/new/add',
		method: 'post',
		data,
	});
}
export function editIntegralGoods(data) {
	return request({
		url: '/mall/integral/goods/edit',
		method: 'post',
		data,
	});
}
export function getIntegralList(params) {
	return request({
		url: '/mall/integral/goods/pcList',
		method: 'get',
		params,
	});
}
export function getIntegralInfo(data) {
	return request({
		url: '/mall/integral/goods/getInfo',
		method: 'post',
		data,
	});
}
export function delIntegral(data) {
	return request({
		url: '/mall/integral/goods/remove',
		method: 'post',
		data,
	});
}
